/* =========================================
       1. GLOBAL RESET & LAYOUT
       ========================================= */
    * { box-sizing: border-box; margin: 0; padding: 0; }
    .nhra-section-header h2 {display: none;}

    .nhra-slider-wrapper {
        font-family: 'Roboto', sans-serif;
        color: white;
        padding: 40px; 
        width: 100%;
        max-width: 100vw; 
        position: relative; 
        overflow-x: hidden; 
        background-size: cover;
    background-position: center;
    background-color: #00468f;
    background-image: url(/sites/default/files/2026-02/NHRA%20HP%2075th%20BG%202026%20copy%20%281%29.jpg);
    background-blend-mode: multiply;
    filter: contrast(105%) saturate(80%);
    }

    .nhra-split-layout {
        display: flex;
        gap: 30px;
        max-width: 1400px;
        margin: 0 auto;
        align-items: flex-start;
    }

    /* =========================================
       2. HERO COLUMN (LEFT)
       ========================================= */
    .hero-image-col {
        flex: 0 0 300px;
        width: 300px;
        height: 360px; 
        position: relative;
        border-radius: 8px;
        overflow: hidden;
        border: 1px solid #333;
        box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    }

    .hero-img {
        width: 100%;
        height: 100%; 
        object-fit: cover; 
        position: absolute;
        top: 0; left: 0;
        z-index: 1;
        /*filter: brightness(0.6);*/ 
    }

    .hero-overlay {
    position: absolute;
    z-index: 2;
    width: 100%;
    display: block;
    text-align: center;
    padding: 20px;
    background: #2b2b2b;
    bottom: 0px;
    }

    .hero-label {
        font-family: 'Oswald', sans-serif;
        color: white;
        font-size: 2rem;
        text-transform: uppercase;
        margin-bottom: 10px;
        letter-spacing: 1px;
    }

    /* Hero Countdown */
    .hero-countdown-box {
        display: flex;
        gap: 10px; 
        margin-bottom: 15px;
        width: 100%; 
        justify-content: center;
    }
    .h-time-block {
        display: flex;
        flex-direction: column;
        align-items: center;
        background: rgba(0,0,0,0.6);
        padding: 8px 4px;
        border-radius: 4px;
        border: 1px solid #333;
        flex: 1; 
        min-width: 0;
    }
    .h-time-val {
        font-family: 'Oswald', sans-serif;
        font-size: 2rem;
        font-weight: 700;
        line-height: 1;
        color: #29b6f6; /* Blue Accent */
    }
    .h-time-label {
        font-size: 1rem;
        color: #ccc;
        text-transform: uppercase;
        margin-top: 2px;
    }

    /* =========================================
       3. SLIDER COLUMN (RIGHT)
       ========================================= */
    .slider-col {
        flex: 1; 
        min-width: 0; 
        position: relative;
        padding-left: 50px; 
        padding-right: 50px; 
    }

    .nhra-section-header {
        margin-bottom: 20px;
        border-left: 4px solid #e31837; 
        padding-left: 15px;
    }

    .nhra-section-header h2 {
        font-family: 'Oswald', sans-serif;
        font-size: 1.8rem;
        text-transform: uppercase;
        margin: 0;
        line-height: 1;
        color: white;
    }

    /* Swiper Setup */
    .swiper {
        width: 100%;
        height: auto; 
        padding-bottom: 20px !important;
        overflow: hidden;
    }

    .swiper-wrapper {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        width: 100%;
        height: 100%;
    }
    
    .swiper-pagination { display: none;}
    
    /* CMS FIX: Hide auto-injected tags that break layout */
    .swiper-wrapper > p, .swiper-wrapper > br { display: none !important; }
    
    .swiper-slide {
        flex-shrink: 0 !important;
        display: block !important;
        height: auto; 
    }

    /* =========================================
       4. RACE CARD STYLES
       ========================================= */
    .race-card {
        position: relative;
        width: 100%;
        height: 360px; /* Fixed height on desktop */
        border-radius: 8px;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        background-color: #000;
        border: 1px solid #333;
        box-shadow: 0 5px 15px rgba(0,0,0,0.5);
        transition: transform 0.3s ease;
    }

    .race-card:hover { transform: translateY(-5px); border-color: #555; }

    .race-image-container {
        width: 100%;
        height: 225px; 
        overflow: hidden;
        /*flex-shrink: 0;*/
    background-size: cover;
    background-blend-mode: darken;
    background-color: rgba(0, 0, 0, 0.4);
    }

    .race-image {
        width: 100%;
        height: 100%;
        object-fit: contain;
        transition: transform 0.6s ease;
        backdrop-filter: brightness(0.8);
    }

    .race-card:hover .race-image { transform: scale(1.1); }

    .race-content {
        padding: 15px;
        background-color: #2b2b2b; 
        flex-grow: 1;
        display: flex;
        flex-direction: column;
    }

    .race-text-wrapper { margin-bottom: auto; }

    .race-meta {
        display: flex; 
        justify-content: flex-start; 
        align-items: center;
        margin-bottom: 8px;
    }

    .race-date { color: #29b6f6; font-weight: 700; font-size: 1.8rem; text-transform: uppercase; }

    .race-title {
        font-family: 'Oswald', sans-serif;
        font-size: 1.2rem;
        line-height: 1.1; margin: 0 0 4px 0;
        text-transform: uppercase; color: white;
    }

    .race-location {
        color: #bbb; font-size: 1.2rem;
        margin-bottom: 2px; 
        font-weight: 400;
        white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    }

    .race-city {
        color: #888; font-size: 1rem; margin-bottom: 15px; 
        font-weight: 700; text-transform: uppercase; padding-left: 0; 
    }

    .race-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

    .nhra-btn {
        display: block; padding: 8px 0;
        text-align: center; text-decoration: none; text-transform: uppercase;
        font-family: 'Oswald', sans-serif; font-weight: bold;
        border-radius: 3px; font-size: 1.5rem;
        transition: all 0.2s ease;
    }

    .btn-tickets { background: white; color: black; }
    .btn-tickets:hover { background: #29b6f6; color: white; }

    .btn-details { border: 1px solid rgba(255,255,255,0.4); color: white; }
    .btn-details:hover { background: rgba(255,255,255,0.1); border-color: white; }

    /* =========================================
       5. NAVIGATION ARROWS
       ========================================= */
    .nhra-next-btn, .nhra-prev-btn {
        color: #29b6f6; 
        background: rgba(0,0,0,0.9);
        width: 44px; height: 44px; 
        border-radius: 50%;
        border: 1px solid #333;
        position: absolute;
        z-index: 999; 
        top: 50%;
        transform: translateY(-50%);
        display: flex; justify-content: center; align-items: center;
        cursor: pointer;
        transition: all 0.2s;
    }
    .nhra-next-btn:hover, .nhra-prev-btn:hover { background: #29b6f6; color: black; }
    
    .nhra-next-btn::after, .nhra-prev-btn::after { 
        font-family: 'swiper-icons'; 
        font-size: 18px; 
        font-weight: bold;
        content: 'next';
    }
    .nhra-prev-btn::after { content: 'prev'; }
    
    /* Desktop Positions */
    .nhra-next-btn { right: 0; }
    .nhra-prev-btn { left: 0; }

    /* =========================================
       6. MOBILE RESPONSIVE TWEAKS
       ========================================= */
    @media (max-width: 1024px) {
        .nhra-split-layout { display: block; }
        
        /* 1. Hero Banner: Short & Solid Background */
        .hero-image-col { 
            position: relative;
            width: 100%; 
            height: 150px; /* Shorter banner */
            margin-bottom: 25px; 
            display: block;
            flex: auto;
            background: #000; /* Solid background */
        }
        
        .hero-overlay {
            padding: 10px;
            background: none;
        }

        .hero-img { display: none; } /* Hide image on mobile */
        
        /* 2. Slider Column: Full Width */
        .slider-col { 
            width: 100%;
            display: block;
            padding-left: 0;
            padding-right: 0;
        }
        
        /* 3. Arrow Positioning: Centered over Slide Image */
        .nhra-next-btn, .nhra-prev-btn { 
            display: flex; 
            width: 36px; height: 36px;
            background: rgba(0,0,0,0.8);
            /* This positions the arrow approx over the center of the image area */
            top: 50%; 
            transform: translateY(-50%);
            z-index: 100;
        }
        
        .nhra-next-btn { right: 0 !important; }
        .nhra-prev-btn { left: 0 !important; }
        
        /* 4. Card Sizing */
        .race-card { 
            height: auto; 
            min-height: 360px; 
        }

        /* 5. Typography Adjustment */
        .h-time-val { font-size: 1.4rem; }
        
        .nhra-slider-wrapper { 
            padding: 20px 10px; 
            height: auto; 
            overflow-x: hidden; 
        }
        .race-image-container {
        	height: 200px;
        }
        .race-image { 
            height: 200px; 
            object-fit: contain; 
            transform: none;
        }
        
    .race-text-wrapper {
    margin-bottom: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
}

        .hero-label,.race-date,.race-location,.race-city,.nhra-btn {font-size: 1.5rem;}
        

    }